package com.xxx.video.main.beans;

import com.xxx.video.commen.utils.ListUtils;

import java.util.ArrayList;

/**
 */
public class LocalMediaFolderInfoBean {
    /**
     */
    public String fileFolderPath;
    /**
     */
    public String fileFolderName;
    /**
     */
    public String firstMediaPath;
    /**
     */
    private int mediaNum;
    /**
     */
    public ArrayList<LocalMediaInfoBean> mLocalMediaInfoBeanList;
    /**
     */
    public boolean isCheck;

    /**
     */
    public int getMediaNum() {
        if (ListUtils.isEmpty(mLocalMediaInfoBeanList)) {
            return 0;
        }
        return mLocalMediaInfoBeanList.size();
    }

    @Override
    public String toString() {
        return "LocalMediaFolderInfoBean{" +
                "fileFolderPath='" + fileFolderPath + '\'' +
                ", fileFolderName='" + fileFolderName + '\'' +
                ", firstMediaPath='" + firstMediaPath + '\'' +
                ", mediaNum=" + mediaNum +
                ", mLocalMediaInfoBeanList=" + mLocalMediaInfoBeanList +
                ", isCheck=" + isCheck +
                '}';
    }
}
